﻿using System;
using System.Configuration;
using System.Web.UI;
using System.Data;
using System.Data.SqlClient;
using mojoPortal.Web.RS.AppCode.Lib;

namespace mojoPortal.Web.RS.Modules.RFQ
{
    public partial class RSPublicMLSConfirm : RSBasePage
    {
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                string mlsid = "";
                string mlstoken = "";
                if (Request.QueryString["p1"] != null)
                {
                    mlsid = Request.QueryString["p1"].ToString();
                    if (!RSCommonFunctions.IsNumeric(mlsid))
                        mlsid = "0";
                }
                if (Request.QueryString["p2"] != null)
                {
                    mlstoken = Request.QueryString["p2"].ToString();
                }
                ucPublicMLSConfirmControl.LoadMLSData(int.Parse(mlsid), mlstoken, "");
                
            }
        }
    }
}

